package com.fzkj.shejimoshi.factory.factory.phonefactory;

import com.fzkj.shejimoshi.factory.factory.phone.ApplePhone;
import com.fzkj.shejimoshi.factory.factory.phone.Phone;

/**
 * @DESCRIPTION: TODO 抽象工厂具体实现
 * @AUTHOR: AnotherOne
 * @DATE: 2021/8/12 14:20
 */
public class ApplePhoneFactory implements AbstractPhoneFactory {
    @Override
    public Phone newPhone() {
        System.out.println("=== 苹果工厂生产苹果机 ===");
        return new ApplePhone();
    }
}
